package com.iot.core.payload;

import lombok.Data;

import java.util.Date;

/**
 * @auther 王霄
 * @date 2022/7/28 10:52
 */
@Data
public class ConnectPayload {
    /**
     * 上下线公用字段
     */
    private Date lastTime;
    private String iotId;
    private Date utcLastTime;
    private String clientIp;
    private Date utcTime;
    private Date time;
    private String productKey;
    private String deviceName;
    private String status;

    /**
     * 下线独有字段
     */
    private Integer offlineReasonCode;

}
